import redis

r = redis.Redis(host='localhost', port=6379, decode_responses=True)

'''
redis-server.exe redis.windows.conf
redis-cli.exe -h 127.0.0.1 -p 6379
'''